/*清除内外边框*/
html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
body,h1,h2,h3,h4,h5,h6,hr,p,
blockquote,/*结构元素*/
dl,dt,dd,ul,ol,li,/*list elements 列表元素*/
pre,/*文本格式元素*/
form,button,input,textarea,/*form elements 表单元素*/
th,td,/*表格元素*/
img/*img elements 图片元素*/ {
    border: none;
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/*清除ie的默认选择框样式清除，隐藏下拉箭头*/
select::-ms-expand {
    border: none;
}
[v-cloak] {
    display: none;
}

/*设置默认字体*/
body,
button,
input,
select,
textarea {
    font: 14px/1.5 Microsoft Yahei, tahoma, Srial, helvetica, sans-serif;
    text-rendering: optimizeLegibility;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}
body {
    background-color: #fff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
}
/*清除斜体*/
em,
i,
var {
    font-style: normal;
}
/*清除列表元素*/
ul,
li,
ol {
    list-style: none;
}
/*重置超链接元素*/
a {
    color: #333;
    text-decoration: none;
    outline: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

/*滚动条 start*/
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #fff;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background: #fff;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    border-radius: 3px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #eee;
}
::-webkit-scrollbar-thumb:hover {
    border-radius: 3px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #ccc;
}

/* 修改element ui默认样式 */
.el-main {
    padding: 10px;
}
/* el弹出框变化增加过渡效果 */
.el-dialog {
    margin: 0 auto;
    transition: all 0.1s;
}
.el-dialog__body {
    padding: 10px 20px !important;
}
.el-dialog__header {
    background: #f2f2f2;
    border-bottom: 1px solid #ddd;
}

/* 当el-form的label 位置居上的时候 缩小label与input的间距 */
.el-form--label-top .el-form-item__label {
    padding: 0 !important;
}
.el-input-group__append,
.el-input-group__prepend {
    padding: 0 10px;
}
/* 取消el-scrollbar属性 水平位置的滚动条 */
.el-scrollbar__wrap {
    overflow-x: hidden !important;
}

/* 当el-input-number没有控制器或者控制器居右的时候文字居左对齐 */
.el-input-number.is-without-controls .el-input__inner,
.el-input-number.is-controls-right .el-input__inner {
    text-align: left !important;
}
